package student.aistar.service;


import student.aistar.model.dto.AddressDTO;
import student.aistar.model.entity.Address;
import student.aistar.model.entity.User;

import java.util.List;

public interface IUserService {
    void Login(User user);

    User loginIndex(User user);

    AddressDTO findAddressById(Integer userId);


    void addAddress(Address address);

    Address getCheckAddress(Integer addressId);


    /**
     * 根据address_id更新address表
     * @param address
     */
    void reviseAddress(Address address);
}
